<%@page import="java.text.SimpleDateFormat,java.util.Date" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%--@elvariable id="actionBean" type="able.stripes.AbleActionBean"--%>
<%@ include file="/WEB-INF/jsp/include/taglibs.jspf" %>
<decorator:usePage id="pageContent" />
<fmt:setBundle basename="StripesResources"/>
<%
    boolean front = (request.getRequestURI().indexOf("/home.jsp") > 0); //Hack! main page!!            
    pageContext.setAttribute("front", front, pageContext.PAGE_SCOPE);
    pageContext.setAttribute("datetime", new SimpleDateFormat("dd/MM/yyyy | hh:mm").format(new Date()));
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Poket.my</title>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/newstyle.css" title="Default" />
        <script type='text/javascript' src='${pageContext.request.contextPath}/js/jquery-1.5.2.min.js'></script>
        <script type='text/javascript' src='${pageContext.request.contextPath}/js/jquery-ui-1.8.17.custom.min.js'></script>
        <script type='text/javascript' src='${pageContext.request.contextPath}/js/jquery-plugin-validate.js'></script>       

        <script type="text/javascript">            
            $(document).ready(function(){                
                $('select').each(function(){
                    $(this).focus(function(){
                        $(this).addClass('focus');
                    });
                    $(this).blur(function(){
                        $(this).removeClass('focus');
                    });
                });
                $('input:text').each(function(){
                    if (!$(this).hasClass('normal_text')){
                        $(this).focus(function(){
                            $(this).addClass('focus');
                        });
                        $(this).blur( function() {
                            $(this).removeClass("focus");
                            $(this).val( $(this).val().toUpperCase());
                        });
                    }                    
                });           
            });
        </script>

        <decorator:head/>
    </head>        
    <body>
        <div id="network-bar">
            <ul>
                <li><a href="welcome" >Home</a></li>
                <li><a href="advertisment" >Insert Ads</a></li>
                <li><a href="" >Archive</a></li>
                <li><a href="">Contact&nbsp;Us</a></li>
            </ul>
        </div>
        <div id="header">
            <div id="logo">
            </div>
        </div>
        <div id="wrapper">
            <div id="wrapper-bgtop">
                <div id="wrapper-bgbtm">
                    <div id="content">
                        <decorator:body/>      
                    </div>
                    <div style="clear: both;">&nbsp;</div>
                    <br>
                </div>
            </div>
        </div>
        <div id="footer">
            <a href="welcome">Home</a>  |  <a href="advertisment">Insert Ads</a>  |  <a href="index2.html">FAQ</a>  |  <a href="index2.html">Contact Us</a>  |  <a href="index2.html" class="terms">Privacy Policy</a>  |  <a href="index2.html" class="terms">Terms of Use</a>
            <p style="color: #ffffff">Copyright &copy;. All rights reserved. Design by Poket.my </p>																																																																																																																																									

        </div>
    </body>
</html>